import request from '@/utils/request'
export const userRegister = ({ username, password, repassword }) => request.post('/api/reg', { username, password, repassword })
export const userLogin = ({ username, password }) => request.post('/api/login', { username, password })
export const userGetInfoServices = () => request.get('/my/userinfo')